package com.hzqy.persistence.dao.statistics;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.UploadFailFileVo;

@Repository
public class UploadFaiFileDao extends PersistenceDao<UploadFailFileVo, Integer>{
	protected final Logger LOG = LoggerFactory.getLogger(UploadFaiFileDao.class);
	
	public int selectUploadFailFileCount(UploadFailFileVo uploadFailFileVo) {
		String namespace = this.getNamespace();
		return getSqlSession().selectOne(namespace + "selectUploadFailFileCount", uploadFailFileVo);
	}
	
	public List<UploadFailFileVo> selectUploadFailFileList(Map<String,Object> map) {
		String namespace = this.getNamespace();
		return getSqlSession().selectList(namespace + "selectUploadFailFileInfo", map);
	}
}
